<?php
try{
$opts = array(
	'http'=>array(
		'method'=>"GET",
		'timeout'=>60
	)
);
$ctx = stream_context_create($opts);
$ip = @file_get_contents("http://ip.taobao.com/service/getIpInfo.php?ip=".$_GET["ip"]);
$ipinfo = json_decode($ip,true);
echo $ipinfo['data']['region'].$ipinfo['data']['city'].'/'.$ipinfo['data']['isp'];
}
catch(Exception $e) {
	echo 'Message: ' .$e->getMessage();
}
?>